﻿<?php
/**
 * @copyright	Copyright (C) 2008 - 2012 ZooTemplate.com. All rights reserved.
 * @license		GNU/GPL, see LICENSE.php
 * Joomla! is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 * See COPYRIGHT.php for copyright notices and details.
 */

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">
<head>
	<jdoc:include type="head" />
	<?php JHTML::_('behavior.mootools'); ?>
	<?php
		$document = JFactory::getDocument();
		$document->addStyleSheet($ztTools->baseurl() . 'templates/system/css/system.css');
		$document->addStyleSheet($ztTools->baseurl() . 'templates/system/css/general.css');
		$document->addStyleSheet($ztTools->templateurl() . 'css/default.css');
		$document->addStyleSheet($ztTools->templateurl() . 'css/template.css');
		$document->addStyleSheet($ztTools->templateurl() . 'css/css3.css');
		
		if($ztrtl == 'rtl') {
			$document->addStyleSheet($ztTools->templateurl() . 'css/template_rtl.css');
			$document->addStyleSheet($ztTools->templateurl() . 'css/typo_rtl.css');
		} else {
			$document->addStyleSheet($ztTools->templateurl() . 'css/typo.css');
		}
		if($this->params->get('zt_change_color')) {
			$document->addScript($ztTools->templateurl() . 'js/zt.script.js');
		}
		
		if($ztTools->getParam('zt_fontfeature')) {
			$document->addStyleSheet($ztTools->templateurl() . 'css/fonts.css');
		}
		
		$document->addScript($ztTools->templateurl() . 'js/zt.script.js');
	?>
	<script src="<?php echo $ztTools->templateurl(); ?>js/jquery.scrollTo-min.js" type="text/javascript" language="javascript"></script>
	<link rel="stylesheet" href="<?php echo $ztTools->templateurl(); ?>css/modules.css" type="text/css" />
	<link rel="stylesheet" href="<?php echo $ztTools->templateurl(); ?>css/css3.css" type="text/css" />
	<link href="<?php echo $ztTools->parse_ztcolor_cookie($ztcolorstyle); ?>" rel="stylesheet" type="text/css" />
	<script type="text/javascript">
		var baseurl = "<?php echo $ztTools->baseurl() ; ?>";
		var ztpathcolor = '<?php echo $ztTools->templateurl(); ?>css/colors/';
		var tmplurl = '<?php echo $ztTools->templateurl();?>';
		var CurrentFontSize = parseInt('<?php echo $ztTools->getParam('zt_font');?>');
	</script>
	<!--[if lte IE 7]>
	<link rel="stylesheet" href="<?php echo $ztTools->templateurl(); ?>css/ie7.css" type="text/css" />
	<![endif]-->
	<!--[if lte IE 6]>
	<link rel="stylesheet" href="<?php echo $ztTools->templateurl(); ?>css/ie6.css" type="text/css" />
	<script type="text/javascript" src="<?php echo $ztTools->templateurl() ?>js/ie_png.js"></script>
	<script type="text/javascript">
	window.addEvent ('load', function() {
	   ie_png.fix('.png');
	});
	</script>
	<![endif]-->
</head>
<body id="bd" class="fs<?php echo $ztTools->getParam('zt_font'); ?> <?php echo $ztTools->getParam('zt_display'); ?> <?php echo $ztTools->getParam('zt_display_style'); ?> <?php echo $ztrtl; ?>">
<div id="zt-wrapper-ver">
	<div id="zt-wrapper-bot">
		<div id="zt-head">
			<div id="zt-subhead">
				<div id="zt-header">
					<div id="zt-logo"><h1><a href="<?php echo $ztTools->baseurl() ; ?>"><span><?php echo $ztTools->sitename() ; ?></span></a></h1></div>
					<?php if($this->countModules('top')) : ?>
					<div id="zt-top"><jdoc:include type="modules" name="top" /></div>
					<?php endif; ?>
					<?php if($this->countModules('topsearch')) : ?>
					<div id="zt-topsearch"><jdoc:include type="modules" name="topsearch" /></div>
					<?php endif; ?>
					<?php if($this->countModules('toplink')) : ?>
					<div id="zt-toplink"><jdoc:include type="modules" name="toplink" /></div>
					<?php endif; ?>
				</div>

				<?php if($this->countModules('highlight') || $this->countModules('user4')) : ?>
				<div id="zt-userwrap1" class="clearfix">
					<?php if($this->countModules('highlight')) : ?>
					<div id="zt-highlight"><jdoc:include type="modules" name="highlight" style="ztxhtml2" /></div>
					<?php endif; ?>
					<?php if($this->countModules('user4')) : ?>
					<div id="zt-user4"><jdoc:include type="modules" name="user4" /></div>
					<?php endif; ?>
				</div>
				<?php endif; ?>

				<div id="zt-mainmenu" class="clearfix">
					<?php if($menustyle == 'split' || $menustyle == 'submoo') : ?>
					   <?php $menu->show(0,0); ?>
					<?php else : ?>
						<?php $menu->show(); ?>
					<?php endif; ?>
					<?php if($user3) : ?>
					<div id="zt-user3"><jdoc:include type="modules" name="user3" style="ztxhtml2" /></div>
					<?php endif; ?>
				</div>

				<?php if (($menustyle == 'split' || $menustyle == 'submoo') && ($menu->hasChild(1))): ?>
				<div id="zt-userwrap2" class="clearfix">
					<?php $menu->show(1,6); ?>
				</div>
				<?php else : ?>
			
				<?php endif; ?>
			</div><!--End div zt-subhead-->
		</div><!--End div zt-head-->
			<div id="zt-usersp" class="clearfix"></div>
		<div id="zt-wrapper">
			
			<div id="zt-padding" class="clearfix">

				<?php if($this->countModules('slideshow')) : ?>
				<div id="zt-userwrap3" class="clearfix">
					<jdoc:include type="modules" name="slideshow" style="ztrounded_noborder" />
				</div>
				<?php endif; ?>

				<?php
					$spotlight = array ('user1','user2');
					$botsl = $ztTools->calSpotlight ($spotlight,$ztTools->isOP()?100:100,'%');
					if( $botsl ) :
				?>
					<div id="zt-userwrap4" class="clearfix">
						<?php if($this->countModules('user1')) : ?>
							<div id="zt-user1" class="zt-user zt-box<?php echo $botsl['user1']['class']; ?>" style="width: <?php echo $botsl['user1']['width']; ?>;">
								<div class="zt-box-inside">
									<jdoc:include type="modules" name="user1" />
								</div>
							</div>
						<?php endif; ?>
						<?php if($this->countModules('user2')) : ?>
							<div id="zt-user2" class="zt-user zt-box<?php echo $botsl['user2']['class']; ?>" style="width: <?php echo $botsl['user2']['width']; ?>;">
								<div class="zt-box-inside">
									<jdoc:include type="modules" name="user2" />
								</div>
							</div>
						<?php endif; ?>
					</div>
				<?php endif; ?>

				<div id="zt-contentwrapper" class="clearfix">
					<div id="zt-container<?php echo $zt_width; ?>">

						<div id="zt-content">
							<?php if($this->countModules('user5')) : ?>
							<div id="zt-beforecontent" class="clearfix"><jdoc:include type="modules" name="user5" style="ztrounded_noborder" /></div>
							<?php endif; ?>
							<?php if($this->countModules('newsfeed')) : ?>
							<div class="zt-user" class="clearfix"><jdoc:include type="modules" name="newsfeed" style="ztrounded" /></div>
							<?php endif; ?>
							<div id="zt-content-inside" class="clearfix">
								<div class="ztbr">
									<div class="ztbl">
										<div class="zttr png">
											<?php $menu = & JSite::getMenu();?>
											<div class="zttl png<?php if ($menu->getActive() == $menu->getDefault()) : ?> module<?php endif;?>">
												<?php if ($menu->getActive() == $menu->getDefault()) : ?><h3 class="moduletitle" style="margin-top: -10px;"><span>Trung tâm Đào Tạo Thường xuyên</span></h3><?php endif;?>
												<jdoc:include type="message" />
												<jdoc:include type="component" />
											</div>
										</div>
									</div>
								</div>
							</div>
							<?php if($this->countModules('user6')) : ?>
							<div id="zt-aftercontent" class="clearfix"><jdoc:include type="modules" name="user6" style="ztrounded" /></div>
							<?php endif; ?>

							<?php
								$spotlight = array ('col1','col2','col3');
								$botsl = $ztTools->calSpotlight ($spotlight,$ztTools->isOP()?100:100,'%');
								if( $botsl ) :
							?>
							<div id="zt-usercol" class="clearfix">
								<?php if($this->countModules('col1')) : ?>
									<div id="zt-col1" class="zt-user zt-box<?php echo $botsl['col1']['class']; ?>" style="width: <?php echo $botsl['col1']['width']; ?>;">
										<div class="zt-box-inside">
											<jdoc:include type="modules" name="col1" style="4user" />
										</div>
									</div>
								<?php endif; ?>
								<?php if($this->countModules('col2')) : ?>
									<div id="zt-col2" class="zt-user zt-box<?php echo $botsl['col2']['class']; ?>" style="width: <?php echo $botsl['col2']['width']; ?>;">
										<div class="zt-box-inside">
											<jdoc:include type="modules" name="col2" style="4user" />
										</div>
									</div>
								<?php endif; ?>
								<?php if($this->countModules('col3')) : ?>
									<div id="zt-col3" class="zt-user zt-box<?php echo $botsl['col3']['class']; ?>" style="width: <?php echo $botsl['col3']['width']; ?>;">
										<div class="zt-box-inside">
											<jdoc:include type="modules" name="col3" style="ztrounded" />
										</div>
									</div>
								<?php endif; ?>
							</div>
							<?php endif; ?>

						</div>

						<div id="zt-rightcolumn">

							<?php if($this->countModules('user7')) : ?>
							<div id="zt-user7" class="clearfix"><jdoc:include type="modules" name="user7" style="4user" /></div>
							<?php endif; ?>

							<?php if($this->countModules('left') || $this->countModules('right')) : ?>
							<div id="zt-leftright<?php echo $zt_width2; ?>" class="clearfix">

								<?php if($this->countModules('left')) : ?>
								<div id="zt-left"><jdoc:include type="modules" name="left" style="ztrounded" /></div>
								<?php endif; ?>

								<?php if($this->countModules('right')) : ?>
								<div id="zt-right"><jdoc:include type="modules" name="right" style="ztrounded" /></div>
								<?php endif; ?>

							</div>
							<?php endif; ?>

							<?php if($this->countModules('user8')) : ?>
							<div id="zt-user8" class="clearfix"><jdoc:include type="modules" name="user8" style="ztrounded" /></div>
							<?php endif; ?>

						</div>

					</div>
				</div>

			</div>
			<?php
				$spotlight = array ('user9','user10','user11');
				$botsl = $ztTools->calSpotlight ($spotlight,$ztTools->isOP()?100:99,'%');
				if( $botsl ) :
			?>
			<div id="zt-userwrap5" class="clearfix">
				<div class="ztbr">
					<div class="ztbl">
						<div class="zttr png">
							<div class="zttl png">
								<?php if($this->countModules('user9')) : ?>
									<div id="zt-user9" class="zt-user zt-box<?php echo $botsl['user9']['class']; ?>" style="width: <?php echo $botsl['user9']['width']; ?>;">
										<div class="zt-box-inside">
											<jdoc:include type="modules" name="user9" style="ztxhtml2" />
										</div>
									</div>
								<?php endif; ?>
								<?php if($this->countModules('user10')) : ?>
									<div id="zt-user10" class="zt-user zt-box<?php echo $botsl['user10']['class']; ?>" style="width: <?php echo $botsl['user10']['width']; ?>;">
										<div class="zt-box-inside">
											<jdoc:include type="modules" name="user10" style="ztxhtml2" />
										</div>
									</div>
								<?php endif; ?>
								<?php if($this->countModules('user11')) : ?>
									<div id="zt-user11" class="zt-user zt-box<?php echo $botsl['user11']['class']; ?>" style="width: <?php echo $botsl['user11']['width']; ?>;">
										<div class="zt-box-inside">
											<jdoc:include type="modules" name="user11" style="ztxhtml2" />
										</div>
									</div>
								<?php endif; ?>
							</div>
						</div>
					</div>
				</div>
			</div>
			<?php endif; ?>

			<?php if($this->countModules('inset') || $ztTools->getParam('zt_function')) : ?>
			<div id="zt-inset" class="clearfix">
				<div id="zt-inset-inner"><jdoc:include type="modules" name="inset" style="xhtml" /></div>
				<div id="zt-tools">
					<?php echo $changecolor; ?>
				</div>
			</div>
			<?php endif; ?>
		</div>

	</div>
</div>


<div id="zt-footer-wrapper" class="clearfix">
	<div id="zt-footer">
		<jdoc:include type="modules" name="footer" style="xhtml" />
		<div class="zt-copyright">
			<p>Copyright © 2012 Bản quyền thuộc về Trường ĐH Kinh tế  Công nghiệp Long An. Phát triển bởi <a href="http://cntt.daihoclongan.edu.vn/">Khoa Công Nghệ Thông Tin</a>.<br/>
			ĐC: Quốc Lộ 1A, Phường Khánh Hậu, Tp. Tân An, Tỉnh Long An <br/> ĐT: (84 - 7) 23512826 Fax: (84 - 7) 23512825; Email: <a href="mailto:info@daihoclongan.edu.vn"> info@daihoclongan.edu.vn </a></p>
		</div>
	</div>
</div>
<jdoc:include type="modules" name="debug" />
</body>
</html>